package com.weitu.threeSimultaneities.fire.service.impl;

import com.weitu.threeSimultaneities.fire.entity.Fire;
import com.weitu.threeSimultaneities.fire.mapper.FireMapper;
import com.weitu.threeSimultaneities.fire.service.FireService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FireServiceImpl implements FireService {
    @Autowired
    private FireMapper fireMapper;



    public Fire selectByPrimaryKey(String id) {
        return this.fireMapper.selectByPrimaryKey(id);
    }

    public int deleteByPrimaryKey(String id) {
        return this.fireMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(Fire record) {
        return this.fireMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(Fire record) {
        return this.fireMapper.updateByPrimaryKey(record);
    }

    public int insert(Fire record) {
        return this.fireMapper.insert(record);
    }

    public int insertSelective(Fire record) {
        return this.fireMapper.insertSelective(record);
    }
}